// JavaScript Document
function nav() {
     var strChUserAgent = navigator.userAgent;
     var intSplitStart = strChUserAgent.indexOf("(",0);
     var intSplitEnd = strChUserAgent.indexOf(")",0);
     var strChStart = strChUserAgent.substring(0,intSplitStart);
     var strChMid = strChUserAgent.substring(intSplitStart, intSplitEnd);
     var strChEnd = strChUserAgent.substring(strChEnd);
    
	 if(strChMid.indexOf("MSIE 7") != -1)
     document.write("Internet Explorer 7");
     else if(strChMid.indexOf("MSIE 6") != -1)
     document.write("Internet Explorer 6");
     else if(strChEnd.indexOf("Firefox/2") != -1)
     document.write("Firefox 2");
     else if(strChEnd.indexOf("Firefox") != -1)
     document.write("Firefox");
     else if(strChEnd.indexOf("Netscape/7") != -1)
     document.write("Netscape 7");
     else if(strChEnd.indexOf("Netscape") != -1)
     document.write("Netscape");
     else if(strChStart.indexOf("Opera/9") != -1)
     document.write("Opera 9");
     else if(strChStart.indexOf("Opera") != -1)
     document.write("Opera");
     else
     document.write("Non reconnu");
}

function previous() {
	if (document.referrer != '') {
		document.write(document.referrer);
	}
	else {
		document.write("aucune page");
	}
	
}
